/**
 * @作者:侯国威
 * @时间: 2020/4/10/12:45
 * @邮箱:1045077189@qq.com
 */

import domain.Employee;
import service.NameListService;

/**
 @作者:侯国威
 @时间: 2020/4/10/12:45
 */
public class TEST {


    public static void main(String[] args) {
        NameListService service=new NameListService();
        Employee [] employees=service.getAllEmployee();
        System.out.println("id"+"\t"+"姓名\t"+"年龄\t"+"工资\t"+"职位\t"+"状态\t"+"股票\t"+"设备\t"+"大小");
        System.out.println("------------------------------------------------------------------------------");
        for (int i=0;i<employees.length;i++){
            System.out.println(employees[i]);
        }
    }
    

}
